package com.buka.recipe.system.vo;

import com.buka.recipe.system.entity.Department;
import com.buka.recipe.system.entity.Role;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class UserVo {

    private Integer id;

    private String username;

    private String nickname;

    private String phone;

    private String avatar;

    private Department department;

    private Boolean accountNonExpired = true;

    private Boolean accountNonLocked = true;

    private Boolean credentialsNonExpired = true;

    private Boolean enabled = true;

    private List<Role> roles;

}
